package com.woniuxy.dr_mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.dr_mall.entity.DrUserFavorite;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
public interface IDrUserFavoriteService extends IService<DrUserFavorite> {
    //通过用户id和商品id对收藏信息进行删除 叶官鑫 2021-8-16
    void deleteFavorite(int userId,int productId);

    void add(Integer userId, Integer pid);
}
